public class ZhaiZhiJie3
{
    public static void main(String[] args)
    {
        Singleton s1 = Singleton.getInstance();
    }
}

class Singleton
{
    private static Singleton instance = new Singleton();
    public static Singleton getInstance()
    {
        return instance;
    }
}